home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRRWWWWvvvviiiioooossss((((3333CCCC++++++++)))) RRRRWWWWvvvviiiioooossss((((3333CCCC++++++++))))
-
-
-
- NNNNaaaammmmeeee
- RWvios - Rogue Wave library class
-
- SSSSyyyynnnnooooppppssssiiiissss
- #include <vstream.h>
-
-
-
-
- ((((aaaabbbbssssttttrrrraaaacccctttt bbbbaaaasssseeee ccccllllaaaassssssss))))
-
-
-
-
- DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
- RRRRWWWWvvvviiiioooossss is an abstract base class. It defines an interface similar to the
- C++ streams class iiiioooossss. However, unlike iiiioooossss, it offers the advantage of
- not necessarily being associated with a ssssttttrrrreeeeaaaammmmbbbbuuuuffff. This is useful for
- classes that cannot use a ssssttttrrrreeeeaaaammmmbbbbuuuuffff in their implementation. An example
- of such a class is RRRRWWWWXXXXDDDDRRRRiiiissssttttrrrreeeeaaaammmm, where the XDR model does not permit
- ssssttttrrrreeeeaaaammmmbbbbuuuuffff functionality. Specializing classes that do use ssssttttrrrreeeeaaaammmmbbbbuuuuffffs in
- their implementation (eeee....gggg...., RRRRWWWWppppiiiissssttttrrrreeeeaaaammmm) can usually just return the
- corresponding iiiioooossss function.
-
- PPPPeeeerrrrssssiiiisssstttteeeennnncccceeee
- None
-
- PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr FFFFuuuunnnnccccttttiiiioooonnnnssss
- virtual int
- eeeeooooffff() = 0;
-
-
- Returns a nonzero integer if an EEEEOOOOFFFF has been encountered.
-
- virtual int
- ffffaaaaiiiillll() = 0;
-
-
- Returns a nonzero integer if the fail or bad bit has been set. Normally,
- this indicates that some storage or retrieval has failed but that the
- stream is still in a usable state.
-
- virtual int
- bbbbaaaadddd() = 0;
-
-
- Returns a nonzero integer if the bad bit has been set. Normally this
- indicates that a severe error has occurred from which recovery is
- probably impossible.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- RRRRWWWWvvvviiiioooossss((((3333CCCC++++++++)))) RRRRWWWWvvvviiiioooossss((((3333CCCC++++++++))))
-
-
-
- virtual int
- ggggoooooooodddd() = 0;
-
-
- Returns a nonzero integer if no error bits have been set.
-
- virtual int
- rrrrddddssssttttaaaatttteeee() = 0;
-
-
- Returns the current error state.
-
- virtual void
- cccclllleeeeaaaarrrr(int v=0) = 0;
-
-
- Sets the current error state to vvvv. If vvvv is zero, then this clears the
- error state.
-
- ooooppppeeeerrrraaaattttoooorrrr vvvvooooiiiidddd****();
-
-
- If ffffaaaaiiiillll(((()))) then return 0000 else return sssseeeellllffff.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-